<?php

namespace app\shop\model;

use app\common\model\BaseModel;

class ShopBanner extends BaseModel
{
    public function good(){
        return $this->belongsTo('ShopGoods','good_id');
    }
    public function getImgUrlAttr($val){
        return $this->getImgUrl($val);
    }
}
